SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.Localidad SET (LOCK_ESCALATION = TABLE)
GO
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.Banco WITH NOCHECK ADD CONSTRAINT
	FK_Banco_Localidad FOREIGN KEY
	(
	IdLocalidad
	) REFERENCES dbo.Localidad
	(
	IdLocalidad
	) ON UPDATE  NO ACTION 
	 ON DELETE  NO ACTION 
	 NOT FOR REPLICATION

GO
ALTER TABLE dbo.Banco
	NOCHECK CONSTRAINT FK_Banco_Localidad
GO
ALTER TABLE dbo.Banco SET (LOCK_ESCALATION = TABLE)
GO
COMMIT